<?php
    // Creating the string and filling it with tables names.
    $computedData = '';
    foreach ($dbTablesNames as $tableName)
    {
        $computedData .= '<li><a href="index.php?p=backoffice&a=showtable&v=' . $tableName . '">' . ucfirst($tableName) . '</a></li>';
    }
    
    echo
'<section>
    <p>Back office</p>
    <ul>
        ' . $computedData . '
    </ul>
</section>';
?>
